package com.jing.weibo.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户的实体
 * @author jing.yue
 * @version 2012/08/29 1.0.0
 */
public class UserInfo implements Serializable {

	private static final long serialVersionUID = -5895609806534220389L;
	//编号
	private Integer id;
	//用户名
	private String username;
	//昵称
	private String nickname;
	//关注数
	private String attentionnum;
	//粉丝数
	private String fansnum;
	//微博数
	private String weibonum;
	//授权的token
	private String token;
	//登录时间
	private Date logintime;
	//授权到期时间
	private Date accessendtime;
	//类型[0新浪微博]
	private Integer type;
	//删除标记
	private Integer isdel;
	//用户图像
	private String img;
	//是否开启互粉[0关闭/1开启]
	private Integer isopenmp;
	/****************************** 扩展属性 begin ******************************/
	//获取参与互粉的记录
	private Integer joinmpnum;

	/****************************** 扩展属性    end  ******************************/
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getAttentionnum() {
		return attentionnum;
	}
	public void setAttentionnum(String attentionnum) {
		this.attentionnum = attentionnum;
	}
	public String getFansnum() {
		return fansnum;
	}
	public void setFansnum(String fansnum) {
		this.fansnum = fansnum;
	}
	public String getWeibonum() {
		return weibonum;
	}
	public void setWeibonum(String weibonum) {
		this.weibonum = weibonum;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public Date getLogintime() {
		return logintime;
	}
	public void setLogintime(Date logintime) {
		this.logintime = logintime;
	}
	public Date getAccessendtime() {
		return accessendtime;
	}
	public void setAccessendtime(Date accessendtime) {
		this.accessendtime = accessendtime;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getIsdel() {
		return isdel;
	}
	public void setIsdel(Integer isdel) {
		this.isdel = isdel;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Integer getIsopenmp() {
		return isopenmp;
	}
	public void setIsopenmp(Integer isopenmp) {
		this.isopenmp = isopenmp;
	}
	public Integer getJoinmpnum() {
		return joinmpnum;
	}
	public void setJoinmpnum(Integer joinmpnum) {
		this.joinmpnum = joinmpnum;
	}
}